package com.cn.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.pojo.Carousel;
import com.cn.pojo.IndexGoods;
import com.cn.pojo.Order;
import com.cn.pojo.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersService {
    Order selectOrderNo( String id);
    void updateById2(Order order);
    void createOrder( Order order);
    void createOrderItem(OrderItem orderItem);
    void updatePayStatus( String orderNo);
    int payStatus(String orderNo);
    void deleOrder(String orderNo);
    int findOrderMoney(String orderNo);

    List<Order> selectAll(Order order);
    List<Order> searchOrderDetail(int id);

}
